<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="entity.Article,listener.MySessionBinding"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

	<%
	  getServletContext().setAttribute("username", "tom");
	  getServletContext().setAttribute("username", "jack");
	  getServletContext().removeAttribute("username");
	  
	  session.setAttribute("password", "123");
	  session.setAttribute("password", "456");
	  session.removeAttribute("password");
	  
	  request.setAttribute("email", "123");
	 // request.setAttribute("email", "456");
	 // request.removeAttribute("email");
	  
	  Article article = new Article();
	  article.setId("1");
	  article.setContent("content");
	  
	  session.setAttribute("MySessionBinding", new MySessionBinding("zhangsan"));
	  
	%>
	
</body>
</html>